package creature;

import Weapon.Weapon;

import java.util.ArrayList;

public abstract class Creature {
    private String id;
    private String description;
    private int HP;
    private Weapon currentWeapon;

    private ArrayList<Weapon> weapons=new ArrayList<>();

    private int San;

    public int getSan() {
        return San;
    }

    public void setSan(int san) {
        San = san;
    }

    public Weapon getCurrentWeapon() {
        return currentWeapon;
    }

    public void setCurrentWeapon(Weapon currentWeapon) {
        this.currentWeapon = currentWeapon;
    }

    public int getHP() {
        return HP;
    }

    public void setHP(int HP) {
        this.HP = HP;
    }

    public Creature(String id, String description, int HP) {
        this.id = id;
        this.description = description;
        this.HP = HP;
    }

    public Creature() {
    }

    public Creature(String id, String description) {
        this.id = id;
        this.description = description;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public abstract void useArticle(Weapon weapon, Creature targetCreature);



}
